<h1>New bookmark</h1>

<% form_for(@bookmark, :url=>book_bookmarks_path(@bookmark.book)) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :description %><br />
    <%= f.text_field :description %>
  </p>
  <p>
    <%= f.label :page_number %><br />
    <%= f.text_field :page_number %>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', book_bookmarks_path(@bookmark.book) %>
